<%@ include file="include.jsp" %>

<h3>Edit Person</h3>

<form action="savePerson1.html" method="post">
Full Name <input type="input" name="fullname"><br>
Male <input type="radio" name="gender" value="MALE"> Female <input type="radio" name="gender" value="FEMALE"><br>
Age <input type="input" name="age"><br>
Church Name <input type="input" name="churchname"><br>
<input type="submit" name="submit" value="submit">
</form>

<hr>

<form>
<input type="button" value="Set form action to 'savePerson1.html'" onClick="document.forms[0].action='savePerson1.html'">
<input type="button" value="Set form action to 'savePerson2.html'" onClick="document.forms[0].action='savePerson2.html'">
<input type="button" value="Set form action to 'savePerson3.html'" onClick="document.forms[0].action='savePerson3.html'">
</form>